<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>开放日期设置</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
 </head>
 <body>
  <t:formvalid formid="formobj" dialog="true"  layout="table" tiptype="3" action="labOpenController.do?doSetOpenDate" >
		<input id="id" name="id" type="hidden" value="${lab.id }">
		<table style="" cellpadding="0" cellspacing="1" class="formtable">  
				 
				<tr>
					<td align="right">
						<label class="Validform_label">
							开始时间:
						</label>
					</td>
					<td class="value">
						<input id="beginDate" value='<fmt:formatDate value="${lab.beginDate }" pattern="yyyy-MM-dd"/>'  name="beginDate" type="text" style="width: 100px" class="inputxt" >
					</td>
				</tr>

				<tr>
					<td align="right">
						<label class="Validform_label">
							结束时间:
						</label>
					</td>
					<td class="value">
						<input id="endDate"  value='<fmt:formatDate value="${lab.endDate }" pattern="yyyy-MM-dd"/>' name="endDate" type="text" style="width: 100px" class="inputxt" > 	  
					</td>
				</tr>
				
					<tr>
					<td align="right">
						<label class="Validform_label">
							开放说明信息:
						</label>
					</td>
					<td class="value">
						<textarea maxlength="1000" id="remark" name="openRemark"   type="text" style="width: 100%;height:50px;" >${lab.openRemark}</textarea> 	  
					</td>
				</tr>
				 				 
			</table>
		</t:formvalid>
		<script>
		 
		
		$(document).ready(function(){
			$("#beginDate").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
			$("#endDate").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});}); 
		}); 
	 
		</script>
 </body>
 